.PHONY:mq_connectiontest
mq_connectiontest:mq_connectiontest.cpp ../mqcommon/mq_msg.pb.cc ../mqcommon/mq_proto.pb.cc
	g++ $^ -o $@ -std=c++14 -g -lprotobuf -lsqlite3 -lgtest -I../mqthird/include
mq_channeltest:mq_channeltest.cpp ../mqcommon/mq_msg.pb.cc ../mqcommon/mq_proto.pb.cc
	g++ $^ -o $@ -std=c++14 -g -lprotobuf -lsqlite3 -lgtest -I../mqthird/include
mq_consumertest:mq_consumertest.cpp ../mqcommon/mq_msg.pb.cc
	g++ $^ -o $@ -std=c++14 -g -lprotobuf -lsqlite3 -lgtest
mq_routtest:mq_routetest.cpp ../mqcommon/mq_msg.pb.cc
	g++ $^ -o $@ -std=c++14 -g -lprotobuf -lsqlite3 -lgtest
mq_hosttest:mq_hosttest.cpp ../mqcommon/mq_msg.pb.cc
	g++ $^ -o $@ -std=c++14 -g -lprotobuf -lsqlite3 -lgtest
mq_msgTest:mq_msgTest.cpp ../mqcommon/mq_msg.pb.cc
	g++ $^ -o $@ -std=c++14 -g -lprotobuf -lsqlite3 -lgtest
mq_bingdingTest:mq_bingdingTest.cpp
	g++ $^ -o $@ -std=c++14 -lprotobuf -lsqlite3 -lgtest
mq_queueTest:mq_queueTest.cpp
	g++ $^ -o $@ -std=c++14 -lgtest -lprotobuf -lsqlite3
mq_exchageTest:mq_exchageTest.cpp
	g++ $^ -o $@ -std=c++14 -g -lgtest -lprotobuf -lsqlite3
mq_firstTest:mq_firstTest.cpp
	g++ $^ -o $@ -std=c++11
.PHONY:clean
clean:
	rm -rf mq_firsttest mq_exchageTest mq_msgTest